
package Merlion.util.state;

import java.io.Serializable;
import java.util.Date;

public class PickingOrderEntryState implements Serializable{

    private Long id;
    private Long productId;
    private int requestedQty; //static
    private int pickingQty;
    private String reservationType; //PDD, BKO, INV
    private String availabilityDate; //immutable
    private boolean voided;
    private boolean picked;
    private String status;
    private Long warehouseId;
    private String warehouseName;
    private Date pickingDate;
    private Long reservationId;

    public PickingOrderEntryState() {
        
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    
    public void create(Long id, Long productId, int requestedQty, int pickingQty, String reservationType, String availabilityDate, boolean voided, boolean picked, String status, Long warehouseId, Date pickingDate, Long reservationId) {
        this.id = id;
        this.productId = productId;
        this.requestedQty = requestedQty;
        this.pickingQty = pickingQty;
        this.reservationType = reservationType;
        this.availabilityDate = availabilityDate;
        this.voided = voided;
        this.picked = picked;
        this.status = status;
        this.warehouseId = warehouseId;
        this.pickingDate = pickingDate;
        this.reservationId = reservationId;
    }      

    public String getAvailabilityDate() {
        return availabilityDate;
    }

    public void setAvailabilityDate(String availabilityDate) {
        this.availabilityDate = availabilityDate;
    }

    public boolean isPicked() {
        return picked;
    }

    public void setPicked(boolean picked) {
        this.picked = picked;
    }

    public Long getReservationId() {
        return reservationId;
    }

    public void setReservationId(Long reservationId) {
        this.reservationId = reservationId;
    }

    public String getReservationType() {
        return reservationType;
    }

    public void setReservationType(String reservationType) {
        this.reservationType = reservationType;
    }

    public boolean isVoided() {
        return voided;
    }

    public void setVoided(boolean voided) {
        this.voided = voided;
    }



    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getPickingDate() {
        return pickingDate;
    }

    public void setPickingDate(Date pickingDate) {
        this.pickingDate = pickingDate;
    }

    public int getPickingQty() {
        return pickingQty;
    }

    public void setPickingQty(int pickingQty) {
        this.pickingQty = pickingQty;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public int getRequestedQty() {
        return requestedQty;
    }

    public void setRequestedQty(int requestedQty) {
        this.requestedQty = requestedQty;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Long warehouseId) {
        this.warehouseId = warehouseId;
    }
}
